from aiogram import Dispatcher
from aiogram.filters import Text
from aiogram.fsm.context import FSMContext
from aiogram.fsm.state import any_state
from aiogram.types import Message


async def proxy_manual(
    message: Message, state: FSMContext
) -> None:
    await message.answer("Ссылка на мануал:\nhttps://drive.google.com/drive/folders/1PHdLHVmPU-zbhQ2gdlh2sX5BCZEnVXeC?usp=sharing")


def register_manual_handlers(dp: Dispatcher):
    dp.message.register(
        proxy_manual, Text(text="ℹ️ Мануал по поднятию прокси", ignore_case=True), any_state
    )
